/**
 * 
 */
package it.gommonauti.patenti.entity;

import android.graphics.Bitmap;

/**
 * @author Francesco Stallone ( f.stallone73@gmail.com ).
 * 
 * Image.  
 *
 */
public class Image {
	
	/**
	 * Image identifier.
	 */
	private int id;
	
	/**
	 * The bitmap image.
	 */
	private Bitmap bitmap;
	
	/**
	 * Image language.
	 */
	private Language language;

	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return the language
	 */
	public Language getLanguage() {
		return language;
	}

	/**
	 * @param language the language to set
	 */
	public void setLanguage(Language language) {
		this.language = language;
	}

	
	/**
	 * @return the bitmap
	 */
	public Bitmap getBitmap() {
		return bitmap;
	}

	/**
	 * @param bitmap the bitmap to set
	 */
	public void setBitmap(Bitmap bitmap) {
		this.bitmap = bitmap;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer();
		
		sb.append("ID " + this.id + System.getProperty("line.separator"));
		
		sb.append("BITMAP " + this.bitmap + System.getProperty("line.separator"));
		
		return sb.toString();
	}

	
}
